package com.ws.universal.tools.loading.button;

import android.animation.Animator;
import android.graphics.Paint;

import org.jetbrains.annotations.Nullable;

import kotlin.jvm.functions.Function1;

public class LoadingButtonKt {
    private static final void doOnEnd(Animator $this$doOnEnd, final Function1 action) {
        $this$doOnEnd.addListener((Animator.AnimatorListener) (new Animator.AnimatorListener() {
            public void onAnimationRepeat(@Nullable Animator animation) {
            }

            public void onAnimationEnd(@Nullable Animator animation) {
                action.invoke(animation);
            }

            public void onAnimationCancel(@Nullable Animator animation) {
            }

            public void onAnimationStart(@Nullable Animator animation) {
            }
        }));
    }

    private static final void setShadowDepth(Paint $this$setShadowDepth, float depth) {
        $this$setShadowDepth.setShadowLayer(depth, 0.0F, 2.0F, 1862270976);
    }

    // $FF: synthetic method
    public static final void access$setShadowDepth(Paint $this$access_u24setShadowDepth, float depth) {
        setShadowDepth($this$access_u24setShadowDepth, depth);
    }

    // $FF: synthetic method
    public static final void access$doOnEnd(Animator $this$access_u24doOnEnd, Function1 action) {
        doOnEnd($this$access_u24doOnEnd, action);
    }
}
